<include file='__PUBLIC__/frame.html'/>



		<!-- start right -->
<div class="right">

	<form action="" method="post">
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<table class="table table-bordered table-hover">
						<tr>
							<td>
								属性名称
							</td>
							<td>
								<input type="text" value="{$data.tpname}" name='tpname'/>
							</td>
						</tr>
						<tr class="success">
							<td>
								属性类别
							</td>
							<td>
								<label><input type="radio" value="属性" <if value="$data.tptype eq '属性'"> checked="checked" </if> name="tptype" />&nbsp;属性</label>
								&nbsp;&nbsp;
								<label><input type="radio" value="规格"  <if value="$data.tptype eq '规格'"> checked="checked" </if> name="tptype" />&nbsp;规格</label>
							</td>
						</tr>
						<tr class="error">
							<td>
								属性值(多个值用回车换行分隔)
							</td>
							<td>
								<textarea name="tpvalue" cols="100" rows="4">{$data.tpvalue}</textarea>
							</td>
						</tr>
						<tr class="warning">
							<td colspan="2">
								<input type="submit" class="btn btn-primary" value="修改属性" />
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
	</form>
</div>
<script type="text/javascript"> 
$(function(){
	$("select").change(function(){
		window.location.href = 'admin.php' + $(this).find("option:selected").attr("href");
	})
})
</script>
	
		<div class="clear"></div>
	</div>
	<div class="foot">Copyright <span class="num">&copy;</span> 2014-2017 <a target="_blank" href="#"></a> 版权所有</div>
</div>
<script type="text/javascript"> 
$(function(){
	$(".list").find("tr").hover(
		function(){
			if ($(this).find("td").hasClass("bgtt")) return;
			$(this).find("td").css("background-color", "#ffffdd");
		},
		function(){
			if ($(this).find("td").hasClass("bgtt")) return;
			$(this).find("td").css("background-color", "#fff");
		}
	)
})
</script>

		<!-- end right -->

</body>
</html>	
